Xceed.Silverlight.Data.v2.0 Assembly > Xceed.Silverlight.Data Namespace > DataSourceChangedEventArgs Class > DataSourceChangedEventArgs Constructor : DataSourceChangedEventArgs Constructor(DataSourceChangedAction,IEnumerable<Object>,IEnumerable<Object>) |
'Declaration Public Function New( _ ByVal action As DataSourceChangedAction, _ ByVal newItems As IEnumerable(Of Object), _ ByVal oldItems As IEnumerable(Of Object) _ )
'Usage Dim action As DataSourceChangedAction Dim newItems As IEnumerable(Of Object) Dim oldItems As IEnumerable(Of Object) Dim instance As New DataSourceChangedEventArgs(action, newItems, oldItems)
public DataSourceChangedEventArgs( DataSourceChangedAction action, IEnumerable<object> newItems, IEnumerable<object> oldItems )
Exception | Description |
---|---|
System.ArgumentException | newItems must be specified when the Add action is specified. |
System.ArgumentException | oldItems must be specified when the Remove action is specified. |
System.ArgumentException | newItems must be specified when the Replace action is specified. |
System.ArgumentException | oldItems must be specified when the Replace action is specified. |
Target Platforms: Windows 7, Windows Vista, Windows XP SP3, Windows Server 2008 family